package xyz.ddlnt.model.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author ZZULI_SE 210910
 * @data 2025/4/26 22:57
 */
@Schema(description = "帖子评论审核记录表")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PostCommentAuditRec {
    @Schema(description = "评论审核记录id")
    private Long id;
    @Schema(description = "评论id")
    private Long commentId;
    @Schema(description = "帖子 id")
    private Long postId;
    @Schema(description = "用户的 id")
    private Long userId;
    @Schema(description = "评论内容")
    private String commentContent;
    @Schema(description = "评论时间")
    private LocalDateTime commentTime;

    @Schema(description = "审核状态：0 未审核、1 已通过、2 待审核（举报）、3 未通过（删评）")
    private Integer auditStatus;
    @Schema(description = "举报状态：0 未曾举报、1 已举报、2 举报成功")
    private Integer reportStatus;
    @Schema(description = "举报用户 id")
    private Long reportUserId;
    @Schema(description = "举报描述：审核状态为 2 时填写")
    private String reportDesc;
    @Schema(description = "举报时间")
    private LocalDateTime reportTime;
    @Schema(description = "审核人 id")
    private Long auditorId;
    @Schema(description = "审核时间")
    private LocalDateTime auditTime;
}
